#ifndef COLORDIALOG_H
#define COLORDIALOG_H

#include <QDialog>
#include <QTimer>

namespace Ui {
class ColorDialog;
}

class ColorDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ColorDialog(QWidget *parent = 0);
    ~ColorDialog();
private:
    Ui::ColorDialog *ui;
    QTimer *timer;
    int index = 0;
private slots:
    void start();
    void timerHandle();
};

#endif // COLORDIALOG_H
